* {
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}
.ui-agreement{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto auto;
    width: 90%;
    height: 90%;
    background-color: #fff;
    border-radius: .2rem;
    padding: 0 .32rem;
    -webkit-overflow-scrolling: touch;
    .ui-agreement-title{
        display: block;
        position: relative;
        width: 100%;
        height: 1rem;
        line-height: 1rem;
        font-size: .34rem;
        color: #e5004a;
        text-align: center;
        font-weight: 600;
        margin-bottom: .12rem;
        &:after {
            content: '';
            display: block;
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 1px;
            background-color: #b2122a;
            transform: scale(1, 0.5);
            transform-origin: center center;
        }
    }
    .ui-agreement-content{
        display: block;
        width: 100%;
        height: 78%;
        line-height: .4rem;
        font-size: .28rem;
        color: #9f9f9f;
        overflow-y: auto;
        p{
            display: block;
            font-weight: 600;
            color: #000;
            line-height: .4rem;
            padding: .1rem 0;
        }
        .black{
            color: #313131;
            font-weight: bold;
        }
    }
    .ui-agreement-footer{
        display: block;
        width: 100%;
        height: 1rem;
        font-size: 0;
        text-align: center;
        padding: .3rem 0;
        .ui-agreement-button{
            display: inline-block;
            width: 1.8rem;
            height: .64rem;
            line-height: .64rem;
            font-size: .3rem;
            color: #fff;
            background-color: #ee2000;
            border-radius: .12rem;
            outline: none;
            border: none;
            &:active{
                background-color: #ee0000;
            }
        }
    }
}